package cn.getech.data.metadata.model.req.collectiontask;

import cn.getech.data.intelligence.common.validator.group.AddGroup;
import cn.getech.data.intelligence.common.validator.group.UpdateGroup;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@ApiModel(description = "采集任务运行请求")
@Data
public class CollectionTaskRunReq {
    @ApiModelProperty(value = "任务id")
    @NotNull(message = "任务id不能为空", groups = {AddGroup.class, UpdateGroup.class})
    private Long taskId;
}
